#include <stdio.h>
char * removeDuplicateLetters(char * s){
	
	
	return s;
}
int main(int argc, char *argv[]) {
	char buffer[50];
	while(scanf("%s",buffer)!=EOF){
		removeDuplicateLetters(buffer);
	}

}